package com.zzw.basic.fanxing;

public class Apple<T> {

	private T info;
	public Apple(){
		
	}
	
	public Apple(T info){
		this.info = info;
	}
	
	public void setInfo(T info) {
		this.info = info;
	}
	
	public T getInfo() {
		return info;
	}
	
	public static void main(String[] args) {
		Apple<String> apple = new Apple<String>("hello");
		Apple<Double> app = new Apple<Double>(6.66);
	}
}
